using System;

namespace RBAC.Read.Api.Application.Dto.ERP
{
    /// <summary>
    /// 采购退货单 与 物料 联查行（以物料明细为行）
    /// </summary>
    public class PurchaseReturnWithMaterialDto
    {
        // 主表（采购退货单）
        public long PurchaseReturnId { get; set; }
        public string DocumentCode { get; set; }
        public string DocumentStatus { get; set; }
        public string DocumentDate { get; set; }
        public string BusinessType { get; set; }
        public string BusinessStatus { get; set; }
        public string PurchaseOrderNumber { get; set; }
        public string Operator { get; set; }
        public long SupplierId { get; set; }
        public string Auditor { get; set; }
        public string ReturnWarehouse { get; set; }
        public string ReviewDate { get; set; }
        public string ReasonReturn { get; set; }
        public string RemarkInformation { get; set; }

        // 明细（采购退货单物料）
        public int PurchaseReturnMaterialId { get; set; }
        /// <summary>
        /// 跟单编号
        /// </summary>
        public string OrderNumber { get; set; }
        public string MaterialCode { get; set; }
        public string MaterialName { get; set; }
        public string ModelSpecifications { get; set; }
        public string MainMeasurement { get; set; }
        public string BatchNumber { get; set; }
        public string Number { get; set; }
        public string OutboundQuantity { get; set; }
        public string ReturnInstructions { get; set; }
    }
}
